<div class="sectionTitle">
  <h1>Log in!</h1>
</div>
<div class="edge">
  <img src="../../assets/edge.png"></img>
</div>

<p>Enter your credentials to log in. </p>

<% flash.each do |name, msg| %>
    <%= content_tag :div, msg, :id => "flash_#{name}" %>
<% end %>
<%= form_tag sessions_path do %>
    <p>
      <%= label_tag :email %><br />
      <%= text_field_tag :email, params[:email] %>
    </p>
    <p>
      <%= label_tag :password %><br />
      <%= password_field_tag :password, params[:password] %>
    </p>
    <p class="button"><%= submit_tag "LOG IN", :class => "shinyButton"%></p>
    No account yet? <%= link_to 'Register', new_user_path %>
<% end %>
